package com.cy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 用户实体
 * </p>
 *
 * @author Aleven
 * @since 2024-12-21
 */
@Data
@ApiModel(value="Users对象", description="")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户唯一标识符")
    @TableId(value = "UserID", type = IdType.AUTO)
    private Integer UserID;

    @ApiModelProperty(value = "用户名")
    @TableField("Username")
    private String Username;

    @ApiModelProperty(value = "密码")
    @TableField("Password")
    private String Password;

    @ApiModelProperty(value = "电子邮件")
    @TableField("Email")
    private String Email;

    @ApiModelProperty(value = "电话号码")
    @TableField("PhoneNumber")
    private String PhoneNumber;

    @ApiModelProperty(value = "角色ID")
    @TableField("RoleID")
    private Integer RoleID;


}
